from pydantic_settings import BaseSettings
from functools import lru_cache


class Settings(BaseSettings):
    test_str: str = "test"
    aws_access_key_id: str = ""
    aws_endpoint_url_s3: str = ""
    aws_region: str = ""
    aws_secret_access_key: str = ""
    bucket_name: str = ""


settings = Settings()


@lru_cache
def get_settings():
    return Settings()
